<?php

declare(strict_types=1);
/**
 * This file is part of MoChat.
 * @link     https://mo.chat
 * @document https://mochat.wiki
 * @contact  group@mo.chat
 * @license  https://github.com/mochat-cloud/mochat/blob/master/LICENSE
 */
namespace MoChat\App\Utils\Flysystem\Cos;

use MoChat\App\Utils\CosClient\ObjectClient;

class CosAdapter extends \Overtrue\Flysystem\Cos\CosAdapter
{
    public function getObjectClient()
    {
        return $this->objectClient ?? $this->objectClient = new ObjectClient($this->config);
    }
}
